package com.wuwei.elearning.question.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author wuwei
 * @since 2024-06-16
 */
@TableName("listen_record")
@Data
public class ListenRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 用户的account
     */
    private Long account;

    /**
     * 用户某道听力题的历史最高分
     */
    private Integer score;

    /**
     * 用户获得最高分的考试时间
     */
    private LocalDateTime time;

    /**
     * audio 音频表的id
     */
    private Long audioId;
}


